﻿using System.ComponentModel;

namespace Model.BusinessModel.OutPut
{
    /// <summary>
    /// 用户输出模型
    /// </summary>
    [EnitityMapping(MenuId = "380CA40B-8B62-4EBE-86D7-91AE48292F48")]
    public class SysUserOutPut
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        [Description("用户ID")]
        public required string UserId { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        [Description("用户名称")]
        public required string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        [Description("密码")]
        public string? Password { get; set; }

        /// <summary>
        /// 公司key
        /// </summary>
        [Description("公司key")]
        public required string CorporationKey { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        [Description("公司名称")]
        public required string CorporationName { get; set; }

        /// <summary>
        /// 部门key
        /// </summary>
        [Description("部门key")]
        public required string DepartmentId { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        [Description("部门名称")]

        public required string DepartmentName { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        [Description("年龄")]
        public int Age { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        [Description("性别")]
        public int Sex { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        [Description("是否启用")]
        public bool IsOpen { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Description("创建时间")]
        public DateTime CreateTime { get; set; }
    }
}
